/*
 * Copyright (c) 2005, 2014 vacoor
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 */
package org.vacoor.nothing.misc.sap.jco.demo.rfc;

import org.vacoor.nothing.misc.sap.jco.annotation.Func;
import org.vacoor.nothing.misc.sap.jco.annotation.Param;
import org.vacoor.nothing.misc.sap.jco.annotation.Table;

import java.util.Date;
import java.util.List;

/**
 * 一个简单的 RFC 接口映射
 *
 * @author vacoor
 */
public interface RFCMapper {

    @Func("ZSBOM001")
    @Table("OT_INFO")
    List<MaterielChangeInfo> getMaterielChangeInfos(@Param("I_DATUM") Date date);

    @Func("ZSBOM002")
    @Table("OT_INFO")
    List<DealerChangeInfo> getDealerChangeInfo(Date date);

    @Func("ZSBOM003")
    @Table("OT_INFO")
    List<StockInfo> getStockInfo(Date date);

    @Func("ZSBOM004")
    @Table("OT_INFO")
    List<BomChangeInfo> getBomChange(Date date);

    @Func("ZSBOM005")
    @Table("OT_INFO")
    List<ProductForecast> getProductForecast(Date date);

}
